//
//  UIViewController+XXExtension.h
//  SHWheel
//
//  Created by YYKJ on 2020/11/6.
//  Copyright © 2020 YYKJ. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "SHUIHelper.h"

NS_ASSUME_NONNULL_BEGIN

@interface UIViewController (XXExtension)

/// 顶层控制器
- (UIViewController *)xx_visibleViewController;
- (BOOL)xx_isViewLoadedAndVisible;
@end

@interface SHUIHelper (ViewController)

+ (UIViewController *)visibleViewController;

@end

NS_ASSUME_NONNULL_END
